const router = require('koa-router')(),
  method=require('../models/method.js');

router.prefix('/method')

router.get('/', async function (ctx, next) {
    const {id}=ctx.query
    ctx.body=await method.getMethodBySpot(id);
})
module.exports = router
